<?php

  $sqlServer = 'localhost';
 $sqlUserName = 'root';
 $sqlPassWord = 'root';
 $sqlDatabase = 'pdeditor';
 
mysql_connect($sqlServer,$sqlUserName,$sqlPassWord) || exit('数据库链接出错!');
mysql_select_db($sqlDatabase);
  mysql_query("set names 'utf8'");
?>
